#ifndef WIFI_MANAGER_H_
#define WIFI_MANAGER_H_

#include <Singleton.h>
#include "esp_wifi.h"

class WifiManager:public Singleton<WifiManager>
{
private:
    /* data */
public:
    WifiManager(/* args */);
    ~WifiManager();
    int connect(bool lowPower = false);
    uint32_t getIp();
    uint32_t getIpStr(char * ip);
    bool getWifiConnected();
public:
    static int RSSI(int span_second = 10);
};
#endif
